import 'package:flutter/material.dart';

class FirstPage extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
   return new MaterialApp(
     home: Scaffold(
       appBar: new AppBar(
         title: Text('第一页a'),
       ),
       // body: new Icon(Icons.phone,color: Colors.red,size: 90,),
       body:Center(
         child: RaisedButton(
           onPressed: (){
             Navigator.pushNamed(context, '/second');
           },
           child: Text(
               '这是第一页',
             style: TextStyle(fontSize: 33
             ),
           ),
         ),
       ),
     ),
   );
  }

}
